Java Development Kit (JDK) ---> Develop Java programs (JDK 11)

IDE (Integrated Development Environment) ---> VSCode (Extensions) 
Java extensions + GitHub copilot + Claude Code + Codex

"We are using AI to learn" - COE 211

Cursor - IDE with AI capabilities (Data Structures)

- Problem 1: 
Sort the following list of values in ascending order:
1	10	5	3

Good starting point: the output

Output: 1	3	5	10
Step-by-step process for solving this problem ---> Algorithm

Aim in this class is to develop a program that can solve the problem
but in data structures the aim is going to be to optimize that solution
(Running time + space complexity)
Some of the existing sorting algorithms: bubble sort, selection sort, insertion sort, 
priority queue sort, etc...


- What is an algorithm?
Is a general solution to a problem that converges to an answer in a finite amount of time

Start the car: 
1) Get into the car
2) Insert the key
3) Turn the key
4) If the car starts within 10 sec then release the key
5) If the car does not start within 10 sec then repeat steps 3 - 5 but not more than 3 times
6) If the car does not start at all, .... Phone the garage

- Competetive programming (Java + C++)
- "Think first and code later" - COE 211

- Human beings use base-10 number system
Machines use binary system

Base-2 number system (binary): Binary Digits (0 - 1)

101 - base-2 value: 
1 (2^2)	0 (2^1)	1 (2^0) ---> (5)_{10}

- Compiler: javac
Definition: 
Converts code written in one language into equivalent code written in another language
- Interpreter: would enable us to run a Java code

- First Java code: HelloWorld.java
Java is case-sensitive language; 
HelloWorld is different from helloWorld different from helloworld

Use the editor to create the Java code ---> Write the code (.java)
Compile the code ---> This step yields a bytecode (.class)
Run the bytecode (.class file) ---> This executes the code (Don't put the extension)

- "Innovate or evaporate" - COE 211
- "No news is good news" - COE 211
- "Read error messages" - COE 211
- "Make it work and then make it better" - COE 211

















 